package org.port.weather.data;

import android.os.Parcel;
import android.os.Parcelable;

public class WeatherData implements Parcelable {
	public static final String TAG = "WeatherData";
	private String day;
	private String hour;
	private String temp;
	private String tmx;
	private String tmn;
	private String sky;
	private String pty;
	private String wfKor;
	private String wfEn;
	private String pop;
	private String r12;
	private String s12;
	private String ws;
	private String wd;
	private String wdKor;
	private String wdEn;
	private String reh;

	public WeatherData() {
		super();
		// TODO Auto-generated constructor stub
	}

	public WeatherData(Parcel in) {
		// TODO Auto-generated constructor stub
		readFromParcel(in);
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public String getHour() {
		return hour;
	}

	public void setHour(String hour) {
		this.hour = hour;
	}

	public String getTemp() {
		return temp;
	}

	public void setTemp(String temp) {
		this.temp = temp;
	}

	public String getTmx() {
		return tmx;
	}

	public void setTmx(String tmx) {
		this.tmx = tmx;
	}

	public String getTmn() {
		return tmn;
	}

	public void setTmn(String tmn) {
		this.tmn = tmn;
	}

	public String getSky() {
		return sky;
	}

	public void setSky(String sky) {
		this.sky = sky;
	}

	public String getPty() {
		return pty;
	}

	public void setPty(String pty) {
		this.pty = pty;
	}

	public String getWfKor() {
		return wfKor;
	}

	public void setWfKor(String wfKor) {
		this.wfKor = wfKor;
	}

	public String getWfEn() {
		return wfEn;
	}

	public void setWfEn(String wfEn) {
		this.wfEn = wfEn;
	}

	public String getPop() {
		return pop;
	}

	public void setPop(String pop) {
		this.pop = pop;
	}

	public String getR12() {
		return r12;
	}

	public void setR12(String r12) {
		this.r12 = r12;
	}

	public String getS12() {
		return s12;
	}

	public void setS12(String s12) {
		this.s12 = s12;
	}

	public String getWs() {
		return ws;
	}

	public void setWs(String ws) {
		this.ws = ws;
	}

	public String getWd() {
		return wd;
	}

	public void setWd(String wd) {
		this.wd = wd;
	}

	public String getWdKor() {
		return wdKor;
	}

	public void setWdKor(String wdKor) {
		this.wdKor = wdKor;
	}

	public String getWdEn() {
		return wdEn;
	}

	public void setWdEn(String wdEn) {
		this.wdEn = wdEn;
	}

	public String getReh() {
		return reh;
	}

	public void setReh(String reh) {
		this.reh = reh;
	}

	@Override
	public String toString() {
		return "WeatherData [day=" + day + ", hour=" + hour
				+ ", temp=" + temp + ", tmx=" + tmx + ", tmn=" + tmn + ", sky="
				+ sky + ", pty=" + pty + ", wfKor=" + wfKor + ", wfEn=" + wfEn
				+ ", pop=" + pop + ", r12=" + r12 + ", s12=" + s12 + ", ws="
				+ ws + ", wd=" + wd + ", wdKor=" + wdKor + ", wdEn=" + wdEn
				+ ", reh=" + reh + "]";
	}

	public static final Parcelable.Creator<WeatherData> CREATOR = new Parcelable.Creator<WeatherData>() {

		@Override
		public WeatherData createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			return new WeatherData(source);
		}

		@Override
		public WeatherData[] newArray(int size) {
			// TODO Auto-generated method stub
			return new WeatherData[size];
		}
	};

	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(day);
		dest.writeString(hour);
		dest.writeString(temp);
		dest.writeString(tmx);
		dest.writeString(tmn);
		dest.writeString(sky);
		dest.writeString(pty);
		dest.writeString(wfKor);
		dest.writeString(wfEn);
		dest.writeString(pop);
		dest.writeString(r12);
		dest.writeString(s12);
		dest.writeString(ws);
		dest.writeString(wd);
		dest.writeString(wdKor);
		dest.writeString(wdEn);
		dest.writeString(reh);
	}

	public void readFromParcel(Parcel in) {
		day = in.readString();
		hour = in.readString();
		temp = in.readString();
		tmx = in.readString();
		tmn = in.readString();
		sky = in.readString();
		pty = in.readString();
		wfKor = in.readString();
		wfEn = in.readString();
		pop = in.readString();
		r12 = in.readString();
		s12 = in.readString();
		ws = in.readString();
		wd = in.readString();
		wdKor = in.readString();
		wdEn = in.readString();
		reh = in.readString();
	}

}
